import 'package:flutter/material.dart';

class Register2 extends StatefulWidget {
  Register2({Key key}) : super(key: key);
  @override
  _Register2State createState() => _Register2State();
}

class _Register2State extends State<Register2> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Register2'),
      ),
      body: Center(child: Text('Register2')),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          Navigator.pushNamed(context, '/register3');
        },
        child: Text('下一页'),
      ),
    );
  }
}
